<meta charset="utf-8" />

<?php

/*//标识符
$name = 1;
echo $name;
//echo $NAME;//$name和$NAME这两个变量是不同的
//phpinfo();
PHPINFO();//对于函数而言，大小写不影响
//在学习和开发时，不管当前标识符的结构如何，怎么定义就怎么使用。
//辨识度更高，建议
$student_name = 1;//下划线，变量名，属性名，常量名
$studentName = 1;//驼峰法，函数名和变量名
$StudentName = 1;//大驼峰法，类名接口*/
$name=”张琳“;
echo "<br>";
var_dump($name);
echo "<br>";
$name1="张林";
echo "<br>";
echo '我们班有个傻逼他叫'.$name1;
echo "<br>";
echo "$name1 是个大傻逼";
echo "<br>";
echo "渣男是 ${name1}";
echo "<br>";
echo "{$name1} 是渣男";
$K="枯藤";
$L="老树";
$H="昏鸦";
$X="小桥";
$LX="流水";
$R="人渣";
echo $K.$L.$H;
echo "<br>";
echo $X.$LX.$R;
echo "<br>";
echo $R."是我".$name1;
$a=abc;
echo "Why doesn't\"this\"work?";
echo "<br>";
echo "C:\\network\\tsbles\\";
echo "<br>";
echo "变量{\$a}的值为\"{$a}\"";
echo "<br>";
echo "\\101BCD";
echo "<br>";
echo 'Why doesn\'t"this"work?';
echo "<br>";
echo 'C:\network\tsbles\\';
echo "<br>";
echo '变量{\$a}的值为"abc"';
echo "<br>";
echo '\101BCD';